package com.nhim.cms.dao;

import java.util.List;

import com.nhim.cms.domain.Template;
import com.nhim.core.dao.ICoreDAO;

public interface ITemplateDAO extends ICoreDAO<Integer, Template> {
	public List<Template> findByProperty(String propertyName,
			final Object value);
	public Template findGroupTemplateByName(String name);
	public Template findSiteTemplateByName(String name);
	public Template findContentTemplateByName(final Integer contentId,final String name);
	public List<Template> findAllGroupTemplate();
	public List<Template> findAllSiteTemplate();
	public List<Template> findContentTemplateById(Integer id);
	
}
